<#include "macro_.ftl">
package ${packageCode}.common.service;

import java.util.List;
import java.util.Map;

import com.fand.cache.support.CacheEvictSupport;

<#list projectMapper.moduleMapperMap?values as moduleMapper>
import ${packageCode}.${moduleMapper.code?uncap_first}.service.${moduleMapper.code?cap_first}Service;
</#list>


/**
 * 公共服务
 *
 * @author ${author!'haitao.yao'}
 */
public interface CommonService, CacheEvictSupport {
	String BEAN_ID = "${packageCode}.common.service.CommonService";

	String CACHE_NAME = BEAN_ID + "Cache";
<#list projectMapper.moduleMapperMap?values as moduleMapper>

	/**
	 * 获取：${moduleMapper.name!moduleMapper.code}服务
	 * 
	 * @return ${moduleMapper.name!moduleMapper.code}服务
	 */
	${moduleMapper.code?cap_first}Service get${moduleMapper.code?cap_first}Service();
</#list>
}